﻿#ifndef FORMKEYDATA_H
#define FORMKEYDATA_H

#include <QWidget>
#include <QEvent>
#include <QDragEnterEvent>
#include <QRegularExpression>
namespace Ui { class FormKeyData; }

/* 导入sn/tusn号 */
class FormKeyData : public QWidget
{
    Q_OBJECT

public:
    explicit FormKeyData(QWidget *parent = nullptr);
    ~FormKeyData();

private slots:
    void on_pushButton_clicked();

    void on_lineEdit_3_returnPressed();

    void on_comboBox_currentTextChanged(const QString &arg1);

    void on_comboBox_2_currentTextChanged(const QString &arg1);

signals:
    void switch_tab_on(QString dataFilePath);

private:
    void dragEnterEvent(QDragEnterEvent *event);
    void dropEvent(QDropEvent *event);

private:
    Ui::FormKeyData *ui;
    QVector<QStringList> v_data;
    QRegularExpression reg=QRegularExpression("=| |,|	");
};

#endif // FORMKEYDATA_H
